program NullableTypeTests;
{

  Delphi DUnit Test Project
  -------------------------
  This project contains the DUnit test framework and the GUI/Console test runners.
  Add "CONSOLE_TESTRUNNER" to the conditional defines entry in the project options
  to use the console test runner.  Otherwise the GUI test runner will be used by
  default.

}

// Jim McKeeth - www.Delphi.org - jim@mckeeth.org

//Retirado de http://cc.embarcadero.com/item/26916

{$IFDEF CONSOLE_TESTRUNNER}
{$APPTYPE CONSOLE}
{$ENDIF}

uses
  Forms,
  TestFramework,
  GUITestRunner,
  TextTestRunner,
  NullableInt32s in '..\Source\NullableInt32s.pas',
  NullableTypes in '..\Source\NullableTypes.pas',
  TestNullableInt32s in 'TestNullableInt32s.pas',
  TestNullableTypes in 'TestNullableTypes.pas',
  Generics.Casts in '..\Source\Generics.Casts.pas',
  ObjTest in 'ObjTest.pas',
  JsonVO in '..\Source\JsonVO.pas',
  JsonUtils in '..\Source\JsonUtils.pas',
  RttiUtils in '..\Source\RttiUtils.pas',
  NullableStrings in '..\Source\NullableStrings.pas',
  TestNullableStrings in 'TestNullableStrings.pas';

{R *.RES}

begin
  Application.Initialize;
  if IsConsole then
    TextTestRunner.RunRegisteredTests
  else
    GUITestRunner.RunRegisteredTests;

  ReportMemoryLeaksOnShutdown := True;
end.

